<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>    
<%@ taglib prefix="display" uri="http://displaytag.sf.net" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>  
<!--area_lista_serv_sorgente.jsp-->
    <!-- content -->		
   	<div id="content" align="center">
   	
   		   					Lista servizi provenienti da <strong><c:out value="${dettaglio.appoNomeSorgente}" /></strong> 
   		
   							<form action="listaServiziSorgente.html">
   							<table>
								<tr>
									<td width="25%" >Visualizza servizi a partire dal:
									<br />
									<input type="text"  id="dataIniz" name="dataIniz" size="10" maxlength="10" value="${dataIniz}"/>
										<img
											src="<%=request.getContextPath()%>/images/Calendario.gif"
											id="f_imgCal_a"
											style="cursor: pointer; border: 0px; vertical-align: middle; margin-bottom: .40em;"
											title="Calendario" alt="Calendario" title="Calendario" /> <script
											type="text/javascript">
												            Calendar.setup({
												                inputField  : "dataIniz", // id of the input field
												                ifFormat    : "%d/%m/%Y",        // format of the input field
												                button      : "f_imgCal_a",      // trigger for the calendar (button ID)
												                align       : "Tl",              // alignment (defaults to "Bl")
												                singleClick : true
												            });
												        </script>
									</td>
								
									<td width="25%" >al:
									<br />
									<input type="text"  id="dataFine" name="dataFine" size="10" maxlength="10" value="${dataFine}"/>
										<img
											src="<%=request.getContextPath()%>/images/Calendario.gif"
											id="f_imgCal_b"
											style="cursor: pointer; border: 0px; vertical-align: middle; margin-bottom: .40em;"
											title="Calendario" alt="Calendario" title="Calendario" /> <script
											type="text/javascript">
												            Calendar.setup({
												                inputField  : "dataFine", // id of the input field
												                ifFormat    : "%d/%m/%Y",        // format of the input field
												                button      : "f_imgCal_b",      // trigger for the calendar (button ID)
												                align       : "Tl",              // alignment (defaults to "Bl")
												                singleClick : true
												            });
												        </script>
												        
									</td>
								</tr>
								<tr>
								<td colspan="2"><input type="submit" value="Filtra" /></td>
								</tr>
								
							</table>
							
							</form>
							
							
						
   		<br />
   		<div align="center"><c:if test="${dettaglio.tipoAccesso == 1}"> <a class="bottone" href="./inserimento.html">Inserisci Servizio</a></c:if></div>
   		<jsp:include page="tabellaServizi.jsp"></jsp:include>
		   	<c:if test="${back == null}">
   				<c:set var="back" value="listaServizi.html" /> 
   			</c:if>
		<a class="bottone" href="<c:out value="${back}" />" > Indietro </a> &nbsp;
			
				

				<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
				<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
				<br /><br /><br /><br /><br /><br />
			</div>
			<div id="aside">
				<h3>
					Suggerimenti
				</h3>
				<p>
					Questa pagina mostra i servizi che hai inserito e assegnato ad una determinato fornitore 
				</p>
				
			</div>
			